<ul>{php}$cityid=$cityInfo['id'];{/php}
    {fang:lists table='position' field='house_id,img,title,data' where="status=1 and cate_id=5 and model='rental' and city=$cityid" order='ordid asc,id desc' limit='5' id='data'}
    <li>
        <span class="s_h_tuij_img"><a href="{:url('Chuzu/detail',['id'=>$data['house_id']])}" title="{$data.title}"><img src="{$data.img}" width="295" height="165"></a></span>
        <b><i>{$data.data.price}元/月</i><a href="{:url('Chuzu/detail',['id'=>$data['house_id']])}">{$data.title}</a></b>
        <p>
            {$data.data.room}房{$data.data.ting}厅
        </p>
    </li>
    {/fang:lists}
</ul>